clamp(A rem, (100vw - B rem) * C, D rem)